using IcsSEMCtrl.Event;
using IcsSEMCtrl.Service.Logger;
using IcsSEMCtrl.Util.Client;
using Lifter.Device;
using Lifter.Event.Lifter;
using Lifter.Global;
using Lifter.Global.Device;
using Lifter.Gui.Monitor.Contain;
using Lifter.Gui.Monitor.Controls.Buttons;
using Lifter.Gui.Monitor.Popups;
using Lifter.Utility;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using TKT.Lifter.CIM.Lifter.Global;
using TKT.Lifter.CIM.Lifter.Gui.Monitor.Popups;

namespace Lifter.Gui.Monitor.Panels
{
    public class MainBottomPanel : UserControl
    {
        private delegate void RedrawDelegate();
        private delegate void delegateUpdateTerminalMsg();
        private class TerminalMessageAdapter : ECPEventAdapter
        {
            public TerminalMessageAdapter()
            {
                base.Subscribe();
            }
            public override string GetSubscriptionSubject()
            {
                return MessageSendEvent.FormSubject("*");
            }
            public override void ReceiveECPEvent(ECPEvent ecpEvent)
            {
                MainBottomPanel.UpDateTermialMessage(ecpEvent);
            }
        }
        private LifterSEM lftSem = null;
        public static Dictionary<string, MainBottomPanel> MainBottomPanelName = new Dictionary<string, MainBottomPanel>();
        private static MainBottomPanel.TerminalMessageAdapter terminalMessageAdapter = null;
        private string[] LogMessage = new string[100];
        private Color[] LogMessageColor = new Color[100];
        private string strMsg = "";
        private string elementId = "";
        public MessageType msgType;
        public string msgDescription;
        private Color txtColor;
        private IContainer components = null;
        private GroupBoxChamfer groupBoxChamfer1;
        private ButtonXP buttonAlarm;
        private ButtonXP buttonShutDown;
        private ButtonXP buttonInform;
        private ButtonXP btSystemDisplay;
        private ButtonXP History;
        private ButtonXP DataStatistics;
        private Sunny.UI.UIPanel uiPanel1;
        private Sunny.UI.UIHeaderButton btConfig;
        private Sunny.UI.UIHeaderButton btDataDisplay;
        private Sunny.UI.UIHeaderButton btHistory;
        private Sunny.UI.UIHeaderButton btLog;
        private Sunny.UI.UIHeaderButton btMain;
        private Sunny.UI.UIHeaderButton btShutdown;
        private ButtonXP buttonAllConfig;
        private Sunny.UI.UIHeaderButton btPlayBack;
        private ButtonXP buttonMaint;
        public new event PanelBottomMenuEvent Click;
        PlayBackControls playBack;
        private Process process = new Process();
        private bool playbackProcessExistFlag = false;

        public string ElementId
        {
            get
            {
                return this.elementId;
            }
            set
            {
                this.elementId = value;
            }
        }
        public MessageType MsgType
        {
            get
            {
                return this.msgType;
            }
            set
            {
                this.msgType = value;
            }
        }
        public string MsgDescription
        {
            get
            {
                return this.msgDescription;
            }
            set
            {
                this.msgDescription = value;
            }
        }
        public Color TxtColor
        {
            get
            {
                return this.txtColor;
            }
            set
            {
                this.txtColor = value;
            }
        }
        public MainBottomPanel()
        {
            this.InitializeComponent();
            try
            {
                this.lftSem = (LifterSEM)Naming.GetDeviceManager().GetDevice();
                this.elementId = this.lftSem.ElementId;
                this.Subscribe();
                string path = AppDomain.CurrentDomain.BaseDirectory + @"playbackDebug\Lifter";
                process.StartInfo.FileName = path;
                process.StartInfo.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory + "playbackDebug";
            }
            catch (NullReferenceException)
            {
                this.lftSem = new LifterSEM();
                this.elementId = "TLFT0100";
            }
        }
        private void Subscribe()
        {
            if (MainBottomPanel.terminalMessageAdapter == null)
            {
                MainBottomPanel.terminalMessageAdapter = new MainBottomPanel.TerminalMessageAdapter();
            }
            if (!MainBottomPanel.MainBottomPanelName.ContainsKey(this.elementId))
            {
                MainBottomPanel.MainBottomPanelName.Add(this.elementId, this);
            }
        }
        protected virtual void ClickEventRaised(object sender, BottomNavigationEventArgs e)
        {
            if (this.Click != null)
            {
                this.Click(sender, e);
            }
        }
        private void UpdateDelegateMsg()
        {
            try
            {
                base.BeginInvoke(new MainBottomPanel.delegateUpdateTerminalMsg(this.UpdateTerminalMessage));
            }
            catch
            {
            }
        }
        private void UpdateTerminalMessage()
        {
            this.AddOperationMessage(this.msgType, this.msgDescription);
        }
        public void AddOperationMessage(MessageType msgType, string _str)
        {
            switch (msgType.Value())
            {
                case 0:
                    this.txtColor = Color.SkyBlue;
                    goto IL_AF;
                case 1:
                    this.txtColor = Color.Lime;
                    goto IL_AF;
                case 2:
                    this.txtColor = Color.Fuchsia;
                    goto IL_AF;
                case 3:
                    if (_str.Contains(enumFault.FAULT_RESET.ToString().Substring(5)))
                    {
                        this.txtColor = Color.Green;
                    }
                    else
                    {
                        this.txtColor = Color.Red;
                    }
                    goto IL_AF;
                case 6:
                    this.txtColor = Color.Yellow;
                    goto IL_AF;
                case 7:
                    return;
            }
            this.txtColor = Color.White;
        IL_AF:
            this.strMsg = _str;
            MainBottomPanel.RedrawDelegate method = new MainBottomPanel.RedrawDelegate(this.OperationMessage);
            base.Invoke(method);
        }
        private void OperationMessage()
        {
            /*            this.txtLogMessageView.Clear();
                        string text = "◈ " + DateTime.Now.ToString("yyyy:MM:dd HH:mm:ss ") + this.strMsg + "\r\n";
                        this.txtLogMessageView.AppendText("\r\n" + text);
                        this.txtLogMessageView.Select(this.txtLogMessageView.GetFirstCharIndexFromLine(this.txtLogMessageView.Lines.Length - 2), text.Length);
                        this.txtLogMessageView.SelectionColor = this.TxtColor;
                        this.txtLogMessageView.ScrollToCaret();*/
        }
        private void buttonOperation_Click(object sender, EventArgs e)
        {
            this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.OPERATION));
        }
        private void buttonMaint_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.MAINT));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void btPlayBack_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                try
                {
                    if (!playbackProcessExistFlag || process.HasExited)
                    {
                        process.Start();
                        playbackProcessExistFlag = true;
                        LifterMainForm lifterMainForm = (LifterMainForm)SimpleCache.GetObject("FormMain", "LifterMainForm");
                        lifterMainForm.WindowState = FormWindowState.Minimized;
                    }
                    else
                    {
                        if (process.HasExited)
                        {
                            playbackProcessExistFlag = false;
                        }
                    }
                }
                catch (Exception ex)
                {
                    LogHelper.loggerError("启动回放功能时报错！！",ex);
                }
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonInform_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.INFORM));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonAllConfig_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.ALLCONFIG));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonSystemDisplay_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.SYSTEMDISPLAY));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonDataStatistics_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.DATASTATISTICS));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonHistory_Click(object sender, EventArgs e)
        {
            if (this.lftSem.UserPrivilige)
            {
                this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.ALLHISTORY));
            }
            else
            {
                PopupNotice.DialogPopups("请先登录用户！！！", "Please login!!!", enumPopupsType.Warning);
            }
        }
        private void buttonAlarm_Click(object sender, EventArgs e)
        {
            this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.ALARM));
        }
        private void buttonShutDown_Click(object sender, EventArgs e)
        {
            this.ClickEventRaised(sender, new BottomNavigationEventArgs(BottomNavigationEventArgs.BOTTOM_MENU_INDEX.SHUTDOWN));
        }
        public static void UpDateTermialMessage(ECPEvent ecpEvent)
        {
            MessageSendEvent messageSendEvent = (MessageSendEvent)ecpEvent;
            if (MainBottomPanel.MainBottomPanelName.ContainsKey(messageSendEvent.DeviceID))
            {
                MainBottomPanel mainBottomPanel = MainBottomPanel.MainBottomPanelName[messageSendEvent.DeviceID];
                mainBottomPanel.msgType = messageSendEvent.MsgType;
                mainBottomPanel.MsgDescription = messageSendEvent.MsgDescription;
                mainBottomPanel.UpdateDelegateMsg();
            }
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing && this.components != null)
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }
        private void InitializeComponent()
        {
            this.uiPanel1 = new Sunny.UI.UIPanel();
            this.btPlayBack = new Sunny.UI.UIHeaderButton();
            this.btShutdown = new Sunny.UI.UIHeaderButton();
            this.btConfig = new Sunny.UI.UIHeaderButton();
            this.btDataDisplay = new Sunny.UI.UIHeaderButton();
            this.btHistory = new Sunny.UI.UIHeaderButton();
            this.btLog = new Sunny.UI.UIHeaderButton();
            this.btMain = new Sunny.UI.UIHeaderButton();
            this.groupBoxChamfer1 = new Lifter.Gui.Monitor.Contain.GroupBoxChamfer();
            this.History = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.DataStatistics = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.btSystemDisplay = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.buttonAlarm = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.buttonShutDown = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.buttonInform = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.buttonAllConfig = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.buttonMaint = new Lifter.Gui.Monitor.Controls.Buttons.ButtonXP();
            this.uiPanel1.SuspendLayout();
            this.groupBoxChamfer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // uiPanel1
            // 
            this.uiPanel1.Controls.Add(this.btPlayBack);
            this.uiPanel1.Controls.Add(this.btShutdown);
            this.uiPanel1.Controls.Add(this.btConfig);
            this.uiPanel1.Controls.Add(this.btDataDisplay);
            this.uiPanel1.Controls.Add(this.btHistory);
            this.uiPanel1.Controls.Add(this.btLog);
            this.uiPanel1.Controls.Add(this.btMain);
            this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiPanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.uiPanel1.Location = new System.Drawing.Point(0, 0);
            this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
            this.uiPanel1.Name = "uiPanel1";
            this.uiPanel1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.uiPanel1.Size = new System.Drawing.Size(877, 40);
            this.uiPanel1.Style = Sunny.UI.UIStyle.Custom;
            this.uiPanel1.StyleCustomMode = true;
            this.uiPanel1.TabIndex = 22;
            this.uiPanel1.Text = null;
            this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            // 
            // btPlayBack
            // 
            this.btPlayBack.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btPlayBack.CircleSize = 0;
            this.btPlayBack.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btPlayBack.Dock = System.Windows.Forms.DockStyle.Left;
            this.btPlayBack.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btPlayBack.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btPlayBack.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btPlayBack.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btPlayBack.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btPlayBack.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btPlayBack.ForeDisableColor = System.Drawing.Color.Gray;
            this.btPlayBack.Location = new System.Drawing.Point(501, 0);
            this.btPlayBack.MinimumSize = new System.Drawing.Size(1, 1);
            this.btPlayBack.Name = "btPlayBack";
            this.btPlayBack.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btPlayBack.Radius = 0;
            this.btPlayBack.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btPlayBack.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btPlayBack.Size = new System.Drawing.Size(87, 40);
            this.btPlayBack.Style = Sunny.UI.UIStyle.Custom;
            this.btPlayBack.StyleCustomMode = true;
            this.btPlayBack.Symbol = 61841;
            this.btPlayBack.SymbolOffset = new System.Drawing.Point(30, 0);
            this.btPlayBack.SymbolSize = 35;
            this.btPlayBack.TabIndex = 7;
            this.btPlayBack.Text = "回放";
            this.btPlayBack.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btPlayBack.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btPlayBack.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btPlayBack.Click += new System.EventHandler(this.btPlayBack_Click);
            // 
            // btShutdown
            // 
            this.btShutdown.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btShutdown.CircleSize = 0;
            this.btShutdown.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btShutdown.Dock = System.Windows.Forms.DockStyle.Right;
            this.btShutdown.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btShutdown.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btShutdown.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btShutdown.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btShutdown.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btShutdown.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btShutdown.ForeDisableColor = System.Drawing.Color.Gray;
            this.btShutdown.Location = new System.Drawing.Point(809, 0);
            this.btShutdown.MinimumSize = new System.Drawing.Size(1, 1);
            this.btShutdown.Name = "btShutdown";
            this.btShutdown.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btShutdown.Radius = 0;
            this.btShutdown.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btShutdown.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btShutdown.Size = new System.Drawing.Size(68, 40);
            this.btShutdown.Style = Sunny.UI.UIStyle.Custom;
            this.btShutdown.StyleCustomMode = true;
            this.btShutdown.Symbol = 61457;
            this.btShutdown.SymbolOffset = new System.Drawing.Point(15, 0);
            this.btShutdown.SymbolSize = 35;
            this.btShutdown.TabIndex = 6;
            this.btShutdown.Text = "关机";
            this.btShutdown.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btShutdown.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btShutdown.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btShutdown.Click += new System.EventHandler(this.buttonShutDown_Click);
            // 
            // btConfig
            // 
            this.btConfig.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btConfig.CircleSize = 0;
            this.btConfig.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btConfig.Dock = System.Windows.Forms.DockStyle.Left;
            this.btConfig.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btConfig.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btConfig.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btConfig.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btConfig.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btConfig.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btConfig.ForeDisableColor = System.Drawing.Color.Gray;
            this.btConfig.Location = new System.Drawing.Point(411, 0);
            this.btConfig.MinimumSize = new System.Drawing.Size(1, 1);
            this.btConfig.Name = "btConfig";
            this.btConfig.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btConfig.Radius = 0;
            this.btConfig.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btConfig.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btConfig.Size = new System.Drawing.Size(90, 40);
            this.btConfig.Style = Sunny.UI.UIStyle.Custom;
            this.btConfig.StyleCustomMode = true;
            this.btConfig.Symbol = 61573;
            this.btConfig.SymbolOffset = new System.Drawing.Point(30, 0);
            this.btConfig.SymbolSize = 35;
            this.btConfig.TabIndex = 5;
            this.btConfig.Text = "设置";
            this.btConfig.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btConfig.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btConfig.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btConfig.Click += new System.EventHandler(this.buttonAllConfig_Click);
            // 
            // btDataDisplay
            // 
            this.btDataDisplay.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btDataDisplay.CircleSize = 0;
            this.btDataDisplay.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btDataDisplay.Dock = System.Windows.Forms.DockStyle.Left;
            this.btDataDisplay.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btDataDisplay.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btDataDisplay.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btDataDisplay.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btDataDisplay.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btDataDisplay.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btDataDisplay.ForeDisableColor = System.Drawing.Color.Gray;
            this.btDataDisplay.Location = new System.Drawing.Point(288, 0);
            this.btDataDisplay.MinimumSize = new System.Drawing.Size(1, 1);
            this.btDataDisplay.Name = "btDataDisplay";
            this.btDataDisplay.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btDataDisplay.Radius = 0;
            this.btDataDisplay.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btDataDisplay.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btDataDisplay.Size = new System.Drawing.Size(123, 40);
            this.btDataDisplay.Style = Sunny.UI.UIStyle.Custom;
            this.btDataDisplay.StyleCustomMode = true;
            this.btDataDisplay.Symbol = 61568;
            this.btDataDisplay.SymbolOffset = new System.Drawing.Point(30, 0);
            this.btDataDisplay.SymbolSize = 35;
            this.btDataDisplay.TabIndex = 4;
            this.btDataDisplay.Text = "数据展示";
            this.btDataDisplay.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btDataDisplay.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btDataDisplay.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btDataDisplay.Click += new System.EventHandler(this.buttonSystemDisplay_Click);
            // 
            // btHistory
            // 
            this.btHistory.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btHistory.CircleSize = 0;
            this.btHistory.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btHistory.Dock = System.Windows.Forms.DockStyle.Left;
            this.btHistory.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btHistory.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btHistory.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btHistory.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btHistory.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btHistory.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btHistory.ForeDisableColor = System.Drawing.Color.Gray;
            this.btHistory.Location = new System.Drawing.Point(163, 0);
            this.btHistory.MinimumSize = new System.Drawing.Size(1, 1);
            this.btHistory.Name = "btHistory";
            this.btHistory.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btHistory.Radius = 0;
            this.btHistory.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btHistory.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btHistory.Size = new System.Drawing.Size(125, 40);
            this.btHistory.Style = Sunny.UI.UIStyle.Custom;
            this.btHistory.StyleCustomMode = true;
            this.btHistory.Symbol = 361614;
            this.btHistory.SymbolOffset = new System.Drawing.Point(30, 0);
            this.btHistory.SymbolSize = 35;
            this.btHistory.TabIndex = 3;
            this.btHistory.Text = "历史记录";
            this.btHistory.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btHistory.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btHistory.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btHistory.Click += new System.EventHandler(this.buttonHistory_Click);
            // 
            // btLog
            // 
            this.btLog.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btLog.CircleSize = 0;
            this.btLog.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btLog.Dock = System.Windows.Forms.DockStyle.Left;
            this.btLog.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btLog.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btLog.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btLog.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btLog.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btLog.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btLog.ForeDisableColor = System.Drawing.Color.Gray;
            this.btLog.Location = new System.Drawing.Point(72, 0);
            this.btLog.MinimumSize = new System.Drawing.Size(1, 1);
            this.btLog.Name = "btLog";
            this.btLog.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btLog.Radius = 0;
            this.btLog.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btLog.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btLog.Size = new System.Drawing.Size(91, 40);
            this.btLog.Style = Sunny.UI.UIStyle.Custom;
            this.btLog.StyleCustomMode = true;
            this.btLog.Symbol = 61788;
            this.btLog.SymbolOffset = new System.Drawing.Point(30, 0);
            this.btLog.SymbolSize = 35;
            this.btLog.TabIndex = 2;
            this.btLog.Text = "日志";
            this.btLog.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btLog.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btLog.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btLog.Click += new System.EventHandler(this.buttonInform_Click);
            // 
            // btMain
            // 
            this.btMain.CircleColor = System.Drawing.Color.RoyalBlue;
            this.btMain.CircleSize = 0;
            this.btMain.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btMain.Dock = System.Windows.Forms.DockStyle.Left;
            this.btMain.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btMain.FillDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btMain.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btMain.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
            this.btMain.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
            this.btMain.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btMain.Location = new System.Drawing.Point(0, 0);
            this.btMain.MinimumSize = new System.Drawing.Size(1, 1);
            this.btMain.Name = "btMain";
            this.btMain.Padding = new System.Windows.Forms.Padding(0, 8, 0, 3);
            this.btMain.Radius = 0;
            this.btMain.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
            this.btMain.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.btMain.ShowCircleHoverColor = true;
            this.btMain.Size = new System.Drawing.Size(72, 40);
            this.btMain.Style = Sunny.UI.UIStyle.Custom;
            this.btMain.StyleCustomMode = true;
            this.btMain.Symbol = 61461;
            this.btMain.SymbolOffset = new System.Drawing.Point(15, 0);
            this.btMain.SymbolSize = 35;
            this.btMain.TabIndex = 0;
            this.btMain.Text = "主页";
            this.btMain.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.btMain.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btMain.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.btMain.Click += new System.EventHandler(this.buttonOperation_Click);
            // 
            // groupBoxChamfer1
            // 
            this.groupBoxChamfer1.BorderWidth = 6;
            this.groupBoxChamfer1.ColorScheme = Lifter.Gui.Monitor.Contain.EnmColorScheme.Test;
            this.groupBoxChamfer1.Controls.Add(this.History);
            this.groupBoxChamfer1.Controls.Add(this.DataStatistics);
            this.groupBoxChamfer1.Controls.Add(this.btSystemDisplay);
            this.groupBoxChamfer1.Controls.Add(this.buttonAlarm);
            this.groupBoxChamfer1.Controls.Add(this.buttonShutDown);
            this.groupBoxChamfer1.Controls.Add(this.buttonInform);
            this.groupBoxChamfer1.Controls.Add(this.buttonAllConfig);
            this.groupBoxChamfer1.Controls.Add(this.buttonMaint);
            this.groupBoxChamfer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBoxChamfer1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.groupBoxChamfer1.Font = new System.Drawing.Font("Tahoma", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBoxChamfer1.FontColor = System.Drawing.Color.White;
            this.groupBoxChamfer1.Location = new System.Drawing.Point(0, 0);
            this.groupBoxChamfer1.Name = "groupBoxChamfer1";
            this.groupBoxChamfer1.Padding = new System.Windows.Forms.Padding(10, 4, 10, 9);
            this.groupBoxChamfer1.ShadowColor = System.Drawing.Color.Gainsboro;
            this.groupBoxChamfer1.Size = new System.Drawing.Size(877, 93);
            this.groupBoxChamfer1.TabIndex = 0;
            this.groupBoxChamfer1.TabStop = false;
            this.groupBoxChamfer1.Text = "Lifter Navigation";
            // 
            // History
            // 
            this.History.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.History.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.History.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.History.Dock = System.Windows.Forms.DockStyle.Left;
            this.History.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.History.Image = global::TKT.Lifter.CIM.Properties.Resources.Setting;
            this.History.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.History.Location = new System.Drawing.Point(470, 21);
            this.History.Name = "History";
            this.History.Padding = new System.Windows.Forms.Padding(10);
            this.History.Size = new System.Drawing.Size(92, 63);
            this.History.TabIndex = 9;
            this.History.Text = "历史记录";
            this.History.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.History.UseVisualStyleBackColor = true;
            this.History.Click += new System.EventHandler(this.buttonHistory_Click);
            // 
            // DataStatistics
            // 
            this.DataStatistics.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.DataStatistics.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.DataStatistics.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.DataStatistics.Dock = System.Windows.Forms.DockStyle.Left;
            this.DataStatistics.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.DataStatistics.Image = global::TKT.Lifter.CIM.Properties.Resources.Setting;
            this.DataStatistics.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.DataStatistics.Location = new System.Drawing.Point(378, 21);
            this.DataStatistics.Name = "DataStatistics";
            this.DataStatistics.Padding = new System.Windows.Forms.Padding(10);
            this.DataStatistics.Size = new System.Drawing.Size(92, 63);
            this.DataStatistics.TabIndex = 8;
            this.DataStatistics.Text = "数据统计";
            this.DataStatistics.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.DataStatistics.UseVisualStyleBackColor = true;
            this.DataStatistics.Click += new System.EventHandler(this.buttonDataStatistics_Click);
            // 
            // btSystemDisplay
            // 
            this.btSystemDisplay.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.btSystemDisplay.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.btSystemDisplay.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.btSystemDisplay.Dock = System.Windows.Forms.DockStyle.Left;
            this.btSystemDisplay.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btSystemDisplay.Image = global::TKT.Lifter.CIM.Properties.Resources.Setting;
            this.btSystemDisplay.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.btSystemDisplay.Location = new System.Drawing.Point(286, 21);
            this.btSystemDisplay.Name = "btSystemDisplay";
            this.btSystemDisplay.Padding = new System.Windows.Forms.Padding(10);
            this.btSystemDisplay.Size = new System.Drawing.Size(92, 63);
            this.btSystemDisplay.TabIndex = 7;
            this.btSystemDisplay.Text = "系统展示";
            this.btSystemDisplay.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.btSystemDisplay.UseVisualStyleBackColor = true;
            this.btSystemDisplay.Click += new System.EventHandler(this.buttonSystemDisplay_Click);
            // 
            // buttonAlarm
            // 
            this.buttonAlarm.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.buttonAlarm.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.buttonAlarm.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.buttonAlarm.Dock = System.Windows.Forms.DockStyle.Right;
            this.buttonAlarm.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAlarm.Image = global::TKT.Lifter.CIM.Properties.Resources.Alarm;
            this.buttonAlarm.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.buttonAlarm.Location = new System.Drawing.Point(683, 21);
            this.buttonAlarm.Name = "buttonAlarm";
            this.buttonAlarm.Padding = new System.Windows.Forms.Padding(10);
            this.buttonAlarm.Size = new System.Drawing.Size(92, 63);
            this.buttonAlarm.TabIndex = 5;
            this.buttonAlarm.Text = "Alarm";
            this.buttonAlarm.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.buttonAlarm.UseVisualStyleBackColor = true;
            this.buttonAlarm.Click += new System.EventHandler(this.buttonAlarm_Click);
            // 
            // buttonShutDown
            // 
            this.buttonShutDown.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.buttonShutDown.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.buttonShutDown.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.buttonShutDown.Dock = System.Windows.Forms.DockStyle.Right;
            this.buttonShutDown.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonShutDown.Image = global::TKT.Lifter.CIM.Properties.Resources.Power;
            this.buttonShutDown.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.buttonShutDown.Location = new System.Drawing.Point(775, 21);
            this.buttonShutDown.Name = "buttonShutDown";
            this.buttonShutDown.Padding = new System.Windows.Forms.Padding(10);
            this.buttonShutDown.Size = new System.Drawing.Size(92, 63);
            this.buttonShutDown.TabIndex = 4;
            this.buttonShutDown.Text = "Shutdown";
            this.buttonShutDown.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.buttonShutDown.UseVisualStyleBackColor = true;
            this.buttonShutDown.Click += new System.EventHandler(this.buttonShutDown_Click);
            // 
            // buttonInform
            // 
            this.buttonInform.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.buttonInform.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.buttonInform.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.buttonInform.Dock = System.Windows.Forms.DockStyle.Left;
            this.buttonInform.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonInform.Image = global::TKT.Lifter.CIM.Properties.Resources.LogManage;
            this.buttonInform.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.buttonInform.Location = new System.Drawing.Point(194, 21);
            this.buttonInform.Name = "buttonInform";
            this.buttonInform.Padding = new System.Windows.Forms.Padding(10);
            this.buttonInform.Size = new System.Drawing.Size(92, 63);
            this.buttonInform.TabIndex = 2;
            this.buttonInform.Text = "Logs";
            this.buttonInform.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.buttonInform.UseVisualStyleBackColor = true;
            this.buttonInform.Click += new System.EventHandler(this.buttonInform_Click);
            // 
            // buttonAllConfig
            // 
            this.buttonAllConfig.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.buttonAllConfig.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.buttonAllConfig.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.buttonAllConfig.Dock = System.Windows.Forms.DockStyle.Left;
            this.buttonAllConfig.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAllConfig.Image = global::TKT.Lifter.CIM.Properties.Resources.Setting;
            this.buttonAllConfig.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.buttonAllConfig.Location = new System.Drawing.Point(102, 21);
            this.buttonAllConfig.Name = "buttonAllConfig";
            this.buttonAllConfig.Padding = new System.Windows.Forms.Padding(10);
            this.buttonAllConfig.Size = new System.Drawing.Size(92, 63);
            this.buttonAllConfig.TabIndex = 2;
            this.buttonAllConfig.Text = "AllConfig";
            this.buttonAllConfig.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.buttonAllConfig.UseVisualStyleBackColor = true;
            this.buttonAllConfig.Click += new System.EventHandler(this.buttonAllConfig_Click);
            // 
            // buttonMaint
            // 
            this.buttonMaint.AdjustImageLocation = new System.Drawing.Point(0, 0);
            this.buttonMaint.BtnShape = Lifter.Gui.Monitor.Controls.Buttons.emunType.BtnShape.Rectangle;
            this.buttonMaint.BtnStyle = Lifter.Gui.Monitor.Controls.Buttons.emunType.XPStyle.OliveGreen;
            this.buttonMaint.Dock = System.Windows.Forms.DockStyle.Left;
            this.buttonMaint.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonMaint.Image = global::TKT.Lifter.CIM.Properties.Resources.Maint6;
            this.buttonMaint.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.buttonMaint.Location = new System.Drawing.Point(10, 21);
            this.buttonMaint.Name = "buttonMaint";
            this.buttonMaint.Padding = new System.Windows.Forms.Padding(10);
            this.buttonMaint.Size = new System.Drawing.Size(92, 63);
            this.buttonMaint.TabIndex = 1;
            this.buttonMaint.Text = "Status";
            this.buttonMaint.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.buttonMaint.UseVisualStyleBackColor = true;
            this.buttonMaint.Click += new System.EventHandler(this.buttonMaint_Click);
            // 
            // MainBottomPanel
            // 
            this.BackColor = System.Drawing.Color.Beige;
            this.Controls.Add(this.uiPanel1);
            this.Name = "MainBottomPanel";
            this.Size = new System.Drawing.Size(877, 40);
            this.uiPanel1.ResumeLayout(false);
            this.groupBoxChamfer1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
    }
}
